package com.example.shop.fgo.task.common.controller;

import com.example.shop.fgo.entity.FileListEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/2/24.
 */

public interface TaskController<T> {
    
    public void addTasksToQueue(List<FileListEntity.DataEntity> dataEntities, List<FileListEntity.PathEntity> pathEntities) ;
    public List<T> getTasksUnDone() ;
    public List<T> getTasksDone() ;
    public void startTasks() ;
    public void cancelTask(T task) ;
    public void pauseTask(T task) ;
    public void resumeTask(T task) ;
    
}
